@@ -122,7 +122,7 @@ class MoneyCommand : public Command
122122 {
123123 case query:
124124 case hist:
125- if (dst_isSet && ori.getPermissionsLevel () > 0 )
125+ if (dst_isSet && ( int ) ori.getPermissionsLevel () > 0 )
126126 {
127127 dstxuid = PlayerInfo::getXuid (dst);
128128 }
@@ -163,7 +163,7 @@ class MoneyCommand : public Command
163163 outp.error (tr (" money.dontuseinconsole" ));
164164 return ;
165165 }
166- if (ori.getPermissionsLevel () < 1 )
166+ if (( int ) ori.getPermissionsLevel () < 1 )
167167 {
168168 outp.error (tr (" money.no.perm" ));
169169 return ;
@@ -207,7 +207,7 @@ class MoneyCommand : public Command
207207 }
208208 break ;
209209 case set:
210- if (ori.getPermissionsLevel () < 1 )
210+ if (( int ) ori.getPermissionsLevel () < 1 )
211211 {
212212 outp.error (tr (" money.no.perm" ));
213213 return ;
@@ -222,7 +222,7 @@ class MoneyCommand : public Command
222222 }
223223 break ;
224224 case add:
225- if (ori.getPermissionsLevel () < 1 )
225+ if (( int ) ori.getPermissionsLevel () < 1 )
226226 {
227227 outp.error (tr (" money.no.perm" ));
228228 return ;
@@ -237,7 +237,7 @@ class MoneyCommand : public Command
237237 }
238238 break ;
239239 case reduce:
240- if (ori.getPermissionsLevel () < 1 )
240+ if (( int ) ori.getPermissionsLevel () < 1 )
241241 {
242242 outp.error (tr (" money.no.perm" ));
243243 return ;
@@ -333,7 +333,7 @@ class MoneySCommand : public Command
333333 case hist:
334334 if (dst_isSet)
335335 {
336- if (ori.getPermissionsLevel () > 0 )
336+ if (( int ) ori.getPermissionsLevel () > 0 )
337337 {
338338 if (!player.results (ori).empty ())
339339 {
@@ -437,7 +437,7 @@ class MoneySCommand : public Command
437437 break ;
438438 case set:
439439 {
440- if (ori.getPermissionsLevel () < 1 )
440+ if (( int ) ori.getPermissionsLevel () < 1 )
441441 {
442442 outp.error (tr (" money.no.perm" ));
443443 return ;
@@ -462,7 +462,7 @@ class MoneySCommand : public Command
462462 }
463463 case add:
464464 {
465- if (ori.getPermissionsLevel () < 1 )
465+ if (( int ) ori.getPermissionsLevel () < 1 )
466466 {
467467 outp.error (tr (" money.no.perm" ));
468468 return ;
@@ -487,7 +487,7 @@ class MoneySCommand : public Command
487487 }
488488 case reduce:
489489 {
490- if (ori.getPermissionsLevel () < 1 )
490+ if (( int ) ori.getPermissionsLevel () < 1 )
491491 {
492492 outp.error (tr (" money.no.perm" ));
493493 return ;
0 commit comments