summaryrefslogtreecommitdiffstats
path: root/games/monster-masher/files/patch-src::arena.cpp
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-25 11:37:29 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-10-25 11:37:29 +0800
commite934b106497f17545e236bb9644bed935cd118ad (patch)
tree29839e0cbcfadbf35eac8fc26b9ad2afe1301370 /games/monster-masher/files/patch-src::arena.cpp
parent14c9f603eb5d9868d374e46ac865925da109a838 (diff)
downloadmarcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.gz
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.tar.zst
marcuscom-ports-e934b106497f17545e236bb9644bed935cd118ad.zip
Remove these now that they have been committed to the FreeBSD ports tree.
Next stop GNOME 2.21. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9875 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/monster-masher/files/patch-src::arena.cpp')
-rw-r--r--games/monster-masher/files/patch-src::arena.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/games/monster-masher/files/patch-src::arena.cpp b/games/monster-masher/files/patch-src::arena.cpp
deleted file mode 100644
index aaf23107e..000000000
--- a/games/monster-masher/files/patch-src::arena.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
---- src/arena.cpp.orig Mon Nov 3 06:47:41 2003
-+++ src/arena.cpp Wed Nov 5 20:32:03 2003
-@@ -64,11 +64,16 @@
-
- Vector<int> Arena::random_tile()
- {
-+ const size_t ax = size.x - 2;
-+ const size_t ay = size.y - 2;
-+ const size_t av = ax * ay;
-+
- Vector<int> t;
-
- do {
-- t.x = std::rand() % (size.x - 2) + 1;
-- t.y = std::rand() % (size.y - 2) + 1;
-+ const int rnd = std::rand() % av;
-+ t.x = rnd % ax + 1;
-+ t.y = rnd / ax + 1;
- } while (occupier(t) != 0);
-
- return t;