ddnet/src/engine
bors[bot] ba7b82258e
Merge #6673 #6676
6673: Clear Victim Team render info on skin changes r=Robyt3 a=Jupeyy

fixes #6662

This should fix the issue, I guess, by simply clearing the render info. I can't find an easy way to restore the original skins of the team members as we don't save their IDs.
I couldn't directly trigger the assert, but I could certainly see the skin getting invalid when killen the team and switch to "vanilla only skins". (Edit: When triggering it a few times I got the assert)

The code generally looks a bit hacky. Maybe the original author can refactor it a bit

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


6676: Show GPU info (if available) in assert r=Robyt3 a=Jupeyy

first part of #6672

![image](https://github.com/ddnet/ddnet/assets/6654924/0e9aec5a-528a-4e7a-a3fa-93108e55597e)



## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Jupeyy <jupjopjap@gmail.com>
2023-05-27 09:01:26 +00:00
..
client Merge #6673 #6676 2023-05-27 09:01:26 +00:00
docs Merge #5918 2022-10-09 13:53:05 +00:00
external Update zlib to version 1.2.13 2022-10-14 14:53:24 +02:00
gfx Replace usages of C math functions 2023-03-01 19:26:53 +01:00
server clean time score handling, with positive time values 2023-05-22 16:36:46 +02:00
shared Remove inp_mouseold config 2023-05-26 22:44:32 +02:00
antibot.h Forgot to add target here 2021-07-22 00:22:12 +02:00
Cargo.toml Add support for Rust code in DDNet 2022-10-19 23:46:06 +02:00
client.h Show GPU info (if available) in assert 2023-05-27 09:51:22 +02:00
config.h Implement "reset" command 2021-12-27 01:13:11 +01:00
console.h Quit client when existing config file cannot be loaded 2023-05-10 21:04:02 +02:00
console.rs Support 4 and 8 digit RGBA color values in console 2023-02-24 20:32:44 +01:00
demo.h Use sizeof(int32_t) instead of 4 2023-02-11 13:59:08 +01:00
discord.h Only announce servers using Steam/Discord integration which are registered 2022-10-09 16:16:54 +02:00
editor.h Use bool for Load, Save, Append result, true on success 2022-11-03 20:17:06 +01:00
engine.h Clean up CServerLogger (fixes #6598) 2023-05-17 01:04:06 +02:00
favorites.h Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
friends.h Bump friends limit from 1024 to 4096 (fixes #6096) 2022-12-06 10:31:43 +01:00
ghost.h Organize engine-shared includes 2022-05-29 20:02:22 +02:00
graphics.h Show GPU info (if available) in assert 2023-05-27 09:51:22 +02:00
input.h Port line input and IME support from 0.7 2023-04-23 15:00:29 +02:00
kernel.h Fix misspellings 2022-10-25 13:51:56 -03:00
keys.h Handle ordinal joystick hat keys as combined cardinal hat keys 2022-12-17 17:18:01 +01:00
lib.rs Add support for Rust code in DDNet 2022-10-19 23:46:06 +02:00
map.h Add missing CMap::NumData delegate function 2023-05-15 20:47:59 +02:00
message.h Add a simpler IServer::SnapNewItem() API based on some more generated data 2023-02-10 23:12:24 +03:00
rust.h Add support for Rust code in DDNet 2022-10-19 23:46:06 +02:00
server.h clean time score handling, with positive time values 2023-05-22 16:36:46 +02:00
serverbrowser.h fix conflicts 2023-05-14 11:22:06 +02:00
sound.h Let CKernel clean-up. Use unused CSound::Shutdown 2022-09-16 16:50:19 +02:00
sqlite.h Remove useless typedef in c++ 2022-06-25 21:05:54 +02:00
steam.h Only announce servers using Steam/Discord integration which are registered 2022-10-09 16:16:54 +02:00
storage.h Add IStorage::RemoveFolder 2023-03-25 16:58:51 +01:00
textrender.h Port friends list UI from 0.7 2023-05-18 16:46:26 +02:00
updater.h Overhauled job system 2017-11-23 15:47:38 +01:00
uuid.h Make sure headers compile standalone 2020-09-26 21:50:27 +02:00
warning.h Add block list for drivers 2020-11-05 21:07:14 +01:00