X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/72feb2ea9108d2c6111a7ab7daa9f053a0b95605..ede91934442fd804d7b818971a44e3ad795cb01f:/include/user_stat.h?ds=sidebyside 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 - - -