Преглед изворни кода

Fehlerhaftes speichern von items im inventar behoben

Kolja Strohm пре 5 година
родитељ
комит
14890e7111
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      StickmanWorldOnline/Gegenstand.cpp

+ 1 - 1
StickmanWorldOnline/Gegenstand.cpp

@@ -80,7 +80,7 @@ float abklingzeit( GegenstandTyp typ )
 
 bool storable( GegenstandTyp typ )
 {
-    return typ == RWEISHEIT || typ == RSTRENGTH || typ == RBOSHEIT || typ == RLEBEN || typ == RTEMPO;
+    return !(typ == RWEISHEIT || typ == RSTRENGTH || typ == RBOSHEIT || typ == RLEBEN || typ == RTEMPO);
 }
 
 bool brauchtRichtung( GegenstandTyp typ )