X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/72feb2ea9108d2c6111a7ab7daa9f053a0b95605..1e1cf97f68d0c6aec24c640ca270b902fb75c923:/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 - - -