X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/72feb2ea9108d2c6111a7ab7daa9f053a0b95605..722a4fd38336dab14e00cb60c9e0c17867a0240e:/include/user_stat.h diff --git a/include/user_stat.h b/include/user_stat.h index fd0e79a0..42d436fd 100644 --- a/include/user_stat.h +++ b/include/user_stat.h @@ -162,7 +162,7 @@ struct USER_STAT_RES down = us.down; return * this; }; - operator USER_STAT() + operator USER_STAT() const { USER_STAT us; us.cash = cash; @@ -187,6 +187,3 @@ struct USER_STAT_RES }; //----------------------------------------------------------------------------- #endif - - -