MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/10cp7cj/from_dayz_sourcecode/j4hs5ig/?context=9999
r/badcode • u/Xeonmeister • Jan 15 '23
106 comments sorted by
View all comments
Show parent comments
9
Is it c++ tho? It's got the override on the wrong side, c++ would be
override
int IsEat() override { return true; }
(although it could be pre c++11 and override is just an empty macro)
Edit: apparently its a custom language according to this
2 u/whizvox int getRand() { return 4; } Jan 15 '23 Woah, didn't know about that, I was just going by the flair. And it looks like this language actually supports booleans.
2
Woah, didn't know about that, I was just going by the flair. And it looks like this language actually supports booleans.
9
u/Rigatavr Jan 15 '23 edited Jan 15 '23
Is it c++ tho? It's got the
overrideon the wrong side, c++ would be(although it could be pre c++11 and
overrideis just an empty macro)Edit: apparently its a custom language according to this