Pārlūkot izejas kodu

Fehlerhaftes speichern von items im inventar behoben

Kolja Strohm 5 gadi atpakaļ
vecāks
revīzija
14890e7111
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 )