projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tentative checkin of tuxdev's "Object improvement patch, part 1"
[supertux.git]
/
src
/
badguy
/
mriceblock.cpp
diff --git
a/src/badguy/mriceblock.cpp
b/src/badguy/mriceblock.cpp
index
0e46ba6
..
c4c0b16
100644
(file)
--- a/
src/badguy/mriceblock.cpp
+++ b/
src/badguy/mriceblock.cpp
@@
-210,10
+210,7
@@
MrIceBlock::set_state(IceState state)
if(ice_state == state)
return;
- if(state == ICESTATE_FLAT)
- flags |= FLAG_PORTABLE;
- else
- flags &= ~FLAG_PORTABLE;
+ set_portable(state == ICESTATE_FLAT);
switch(state) {
case ICESTATE_NORMAL: