aboutsummaryrefslogtreecommitdiff
path: root/games/critterding/files/patch-src-scenes-evolution.cpp
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-06-18 11:46:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-06-18 11:46:51 +0000
commit3037cb61c7f1ac5ae9a15cee2365daa2d4036028 (patch)
treee391a5b5894d27043bb95bd6680b03174979f810 /games/critterding/files/patch-src-scenes-evolution.cpp
parent28eb882aa04c420b3fe972dd8748b80c90c5cd82 (diff)
downloadports-3037cb61c7f1ac5ae9a15cee2365daa2d4036028.tar.gz
ports-3037cb61c7f1ac5ae9a15cee2365daa2d4036028.zip
Notes
Diffstat (limited to 'games/critterding/files/patch-src-scenes-evolution.cpp')
-rw-r--r--games/critterding/files/patch-src-scenes-evolution.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/critterding/files/patch-src-scenes-evolution.cpp b/games/critterding/files/patch-src-scenes-evolution.cpp
new file mode 100644
index 000000000000..4a3f77fa402d
--- /dev/null
+++ b/games/critterding/files/patch-src-scenes-evolution.cpp
@@ -0,0 +1,11 @@
+--- src/scenes/evolution.cpp.orig 2010-03-06 01:14:29.000000000 +0300
++++ src/scenes/evolution.cpp 2013-06-18 06:00:15.823111566 +0400
+@@ -287,7 +287,7 @@
+ }
+ else if ( world->mouseRayHitEntity->type == 0 )
+ {
+- CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
++ const CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
+ Textprinter::Instance()->print( oldx+margin, oldy, "critter");
+ Textprinter::Instance()->print(oldx+rmargindistance, oldy, "%1i", c->critterID);
+ Textprinter::Instance()->print( oldx+margin, oldy+vspacer, "energy");